package cn.java86.test3;

import cn.java86.dao.StudentDao;
import cn.java86.entity.Student;
import cn.java86.util.MybatisUtil;
import org.apache.ibatis.session.SqlSession;

/**
 * @author oldliu
 * @since 1.0
 */
public class DelStudent {
    public static void main(String[] args) {
        SqlSession s= MybatisUtil.get();
        StudentDao dao=s.getMapper(StudentDao.class);
        long []stunos={210L,211L,212L,213L,214L,215L};
        int r= dao.dels(stunos);
        s.commit();
        MybatisUtil.close(s);
    }
}
